package ar.com.jwa.services;

public class SystemFacade {
	
	private static UserLocalService userLocalService;

	public static void sayHi(){
		getUserLocalService().sayHi();
	}

	/**
	 * @return the userLocalService
	 */
	public static UserLocalService getUserLocalService() {
		if (userLocalService == null){
			throw new RuntimeException("userLocalService is not setted up");
		}
		return userLocalService;
	}

	/**
	 * @param userLocalService the userLocalService to set
	 */
	public void setUserLocalService(UserLocalService userLocalService) {
		SystemFacade.userLocalService = userLocalService;
	}

}
